package dao;

import model.entity.Employee;

import java.util.List;

public interface EmployeeDao {
     Employee Find(int id);
     Employee Find(String username);
     void creatEmployee(String idNumber,String name,String phone,String gender,String username,int user);
     void UpdateStatus(int id,int status);
     int FindStatus(int id);
     void Update(int id, String idNumber, String name, String phone, String gender, String username,int user);
     void EditPassword(int empId, String newPassword);
     List<Employee> All();
     List<Employee> Page(int page,int pageSize);


}
